package com.winhxd.b2c.common.domain.customer.model;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author caiyulong
 */
@Data
public class CustomerIntegralDetail {
    private Long id;

    private Long customerId;

    /**
     * @see com.winhxd.b2c.common.domain.customer.enums.CustomerRevenueEnum
     */
    private Byte level;

    /**
     * @see com.winhxd.b2c.common.domain.customer.enums.CustomerRevenueEnum
     */
    private Byte type;

    /**
     * @see com.winhxd.b2c.common.domain.customer.enums.CustomerRevenueEnum
     */
    private Byte revenueMethod;

    private String orderNo;

    private BigDecimal orderTotal;

    private Date orderCreated;

    private Integer integral;

    private Date created;
}